test:test.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test1:test1.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test2:test2.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test3:test3.cc
	g++ -o $@ $^ -std=c++11 -l pthread 

test4:test4.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test5:test5.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test6:test6.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test7:test7.cc
	g++ -o $@ $^ -std=c++11 -l pthread

test8:test8.cc
	g++ -o $@ $^ -std=c++11 -l pthread

any:any.cc
	g++ -o $@ $^ -std=c++11 -l pthread

server:test.cc ../SHA1.cc ../Base64.cc
	g++ -o $@ $^ -std=c++11 -l pthread -g

.PHONY:clean
clean:
	rm -f server

wsserver:WebsocketTest.cc
	g++ -o $@ $^ -std=c++11 -l pthread -g

.PHONY:clean
clean:
	rm -f wsserver
